package com.zjhn.ds.domain.entity.jlw;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @BelongsProject: ds_jlw
 * @BelongsPackage: com.zjhn.ds.domain.entity.jlw
 * @Author: sxt
 * @CreateTime: 2023-10-06  16:11
 * @Description:
 * @Version: 1.0
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("jlw.jlw_report_record")
public class ReportRecord {

    @TableId
    private String id;

    /**
     * 派工id
     */
    @TableField("assign_task_id")
    private String assignTaskId;

    /**
     * 工位id
     */
    @TableField(value = "station_id")
    private String stationId;

    /**
     * 明细id
     */
    @TableField(value = "pro_task_detail_id")
    private String proTaskDetailId;

    /**
     * erp报工id
     */
    @TableField("book_job_id")
    private String bookJobId;

    /**
     * 卡号
     */
    @TableField("pro_box_code")
    private String proBoxCode;

    /**
     * 款号
     */
    @TableField("style_code")
    private String styleCode;

    /**
     * 颜色
     */
    @TableField("color_main")
    private String colorMain;

    /**
     * 尺码
     */
    private String size;

    /**
     * 针数
     */
    public String needle;

    /**
     * 报工人姓名
     */
    @TableField(value = "real_name")
    private String realName;

    /**
     * 报工人编号
     */
    @TableField(value = "user_no")
    private String userNo;

    /**
     * 报工数
     */
    @TableField(value = "book_job_qty")
    private BigDecimal bookJobQty;

    /**
     * 批次号
     */
    private String batch;

    /**
     * 创建人
     */
    @TableField(fill = FieldFill.INSERT, value = "create_user")
    private String createUser;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT, value = "create_time")
    private Date createTime;

    /**
     * 更新人
     */
    @TableField(fill = FieldFill.INSERT_UPDATE, value = "update_user")
    private String updateUser;

    /**
     * 更新时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE, value = "update_time")
    private Date updateTime;

    /**
     * 逻辑删除
     */
    private Integer deleted;

}
